Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

  Common

  Consts

  Container

  Decoders

  EnhancedAC3

  Decoder

  DummyDecoder

  EnhancedAC3Decoder

  FrameBasedDecoder

  DecodeBlock(float[], long, long)

  DecodeFrame()

  FrameBasedDecoder(BlockBuffer)

  LastFetchStart

  Position

  RIFFWaveDecoder

  Environment

  FilterSet

  Renderers

  Transcoders

  Utilities

  AudioFormat

  AudioReader

  AudioTrackReader

  AudioWriter

  BitDepth

  EnhancedAC3Reader

  LAFMode

  LimitlessAudioFormatReader

  LimitlessAudioFormatWriter

  RIFFWaveReader

  RIFFWaveWriter

  SegmentedAudioReader

  SegmentedAudioWriter

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class FrameBasedDecoder

Converts a frame-based bitstream to raw samples.
Only a single function is required which processes a single frame, with access to the Decoder.reader.
VisibilityPublic
Modifiersabstract
ExtendsDecoder

Public functions

void DecodeBlock(float[] target, long from, long to)Read and decode a given number of samples.
Constructor FrameBasedDecoder(BlockBuffer<byte> reader)Converts a frame-based bitstream to raw samples.

Public properties

int LastFetchStart The position of the first sample of the last exported block in the buffer.
long Position Location in the stream in samples. Unsupported for this codec.

Protected variables

float[] DecodeFrame()Decode a new frame if the cached samples are already fetched.